package com.soso.module
{
	import mx.controls.Text;

	public class Category extends Text
	{
		public function Category(){
			super();
			this.buttonMode=true;
			this.useHandCursor=true;
			this.mouseChildren=false;
		}
		
		private var _categoryId:int;
		private var _typeName:String;
	    private var _typeUrl:String;

		/**
		 *分类ID 
		 */
		public function get categoryId():int
		{
			return _categoryId;
		}

		/**
		 * @private
		 */
		public function set categoryId(value:int):void
		{
			_categoryId = value;
		}

		/**
		 * 分类名称 
		 */
		public function get typeName():String
		{
			return _typeName;
		}

		/**
		 * @private
		 */
		public function set typeName(value:String):void
		{
			_typeName = value;
			this.text = value;
		}

		/**
		 * 分类地址 
		 */
		public function get typeUrl():String
		{
			return _typeUrl;
		}

		/**
		 * @private
		 */
		public function set typeUrl(value:String):void
		{
			_typeUrl = value;
		}

	}
}